<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>返款列表页</title>
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/easyui.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/color.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/easyui/icon.css'}">
<link rel="stylesheet" type="text/css" href="@{'/public/stylesheets/form.css'}">
<script type="text/javascript">
	var opt='';
	#{my.tags.authority Auth:BACKINFO_VIEW}
	opt+='<a href="javascripts: void();" onclick="viewBack(\'{param}\')" class="a_control">详情</a>&nbsp;';
	#{/my.tags.authority}
	#{my.tags.authority Auth:BACKINFO_EDIT}
	opt+='<a href="javascripts: void();" onclick="edit(\'{param}\')" class="a_control">编辑</a>&nbsp;';
	#{/my.tags.authority}
	#{my.tags.authority Auth:BACKINFO_REJECT}
	opt+='<a href="javascripts: void();" onclick="reject(\'{param}\')" class="a_control">驳回</a>&nbsp;';
	#{/my.tags.authority}
</script>
</head>
<body>
<div id="divform" class="form_group">
	<form id="form" method="post">
		<input type="hidden" id="isflag">
		<div class="form_group" style="margin-bootom:5px !important">
			<div class="col-xs-12"><span class="word" style="line-height:20px;">状态:</span>
				<span class="word" style="width:50px"><a class="a_control a_search" style="line-height:20px;" id="all" href="javascript:void(0);" onclick="searchStatus('all')">全部</a></span>
				<span class="word"><a class="a_control a_search" id="enable" href="javascript:void(0);" onclick="searchStatus(false)">未返款</a></span>
				<span class="word"><a class="a_control a_search" id="disable" href="javascript:void(0);" onclick="searchStatus(true)">已返款</a></span>
			</div>
		</div>
		<div class="form_group">
			<div class="col-xs-3">
					<span class="word">返款日期:</span>
					<input type="text" style="width:33%;float:left;height:25px;" class="form-control" id="backbeginTime" name="backbeginTime"></input>
					<span style="font-size:12px;width:30px;margin-top:6px;">-</span>	
					<input type="text" style="width:33%;float:left;height:25px;" class="form-control" id="backendTime" name="backendTime"></input>
			</div>
			<div class="col-xs-3">
					<span class="word">统计日期:</span>
					<input type="text" style="width:33%;float:left;height:25px;" class="form-control" id="countbeginTime" name="countbeginTime"></input>
					<span style="font-size:12px;width:30px;margin-top:6px;">-</span>	
					<input type="text" style="width:33%;float:left;height:25px;" class="form-control" id="countendTime" name="countendTime"></input>
			</div>
						<div class="col-xs-3"><span class="word">经销商编号:</span><input type="text" class="form-control" id="dealerid" name="dealerid"></input></div>
		</div>
		<div class="form_group">
			<div class="col-xs-3"><span class="word">经销商名称:</span><input type="text" class="form-control" id="dealername" name="dealername"></input></div>
			<div class="col-xs-3"><span class="word">门店编号:</span><input type="text" class="form-control" id="shopid" name="shopid"></input></div>
			<div class="col-xs-3"><span class="word">门店名称:</span><input type="text" class="form-control" id="shopname" name="shopname"></input></div>
			<div class="col-xs-2"><input type="button" id="serbutton" class="button" value="搜索" ></div>
		</div>
	</form>
</div>
<div style="width:100%;height:100%" class="col-xs_12">
	<table id="listBack"></table>
</div>
<div id="dlg" style="display:none"></div>
<div id="tb">
	#{my.tags.authority Auth:BACKINFO_BETCHBACK}
	<a href="#" class="easyui-linkbutton" iconCls="icon-backmoney" plain="true" onclick="betchBack()">批量返款</a>
	#{/my.tags.authority}
	#{my.tags.authority Auth:BACKINFO_BETCHREJECT}
	<a href="#" class="easyui-linkbutton" iconCls="icon-reject" plain="true" onclick="betchReject()">批量驳回</a>
	#{/my.tags.authority}
	#{my.tags.authority Auth:BACKINFO_EXPORT}
	<a class="easyui-linkbutton" iconCls="icon-export" plain="true" onclick="exportXls()">导出全部</a>
	#{/my.tags.authority}
</div>
</body>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery-1.8.2.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/common.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/jquery.easyui.min.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/datagrid-detailview.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/easyui-lang-zh_CN.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/layout/dateFormat.js'}"></script>
<script type="text/javascript" src="@{'/public/javascripts/BackInfoController/backInfoList.js'}"></script>
</html>